<!-- 头部全局 -->
<?php TPL::output('aomas/m_global/header2.tpl.htm'); ?>
<?php $home_data = $this->home_data; ?>

<link rel="stylesheet" href="<?php echo G_STATIC_URL; ?>/aomas/css/m_home/m_home.css">

<!-- $home_data['banner'][0]['pic'];-->

<div class="m-section">
    <div class="m-imgback-container " style="height: 4.1rem;background-image: url(<?php echo $home_data['banner'][0]['pic'];?>);background-size: cover">

        <!--<div class="m-img">-->
            <!--<img src="<?php echo G_STATIC_URL; ?>/aomas/img/home/zt1.jpg" alt="" class="m-home-bn1-img" style="margin-top: 47px;">-->
        <!--</div>-->
     
        <div class="m-img">
            <img src="<?php echo G_STATIC_URL; ?>/aomas/common/bn-logo.jpg" alt="" class="m-home-bn1-img">
        </div>

        <!--<div class="m-imgback-btn1">-->
            <!--<a href="#">新品上市</a>-->
            <!--<a href="#">aomos</a>-->
            <!--&lt;!&ndash; <a href="#">立即加入</a> &ndash;&gt;-->
        <!--</div>-->
    </div>
    <ul class="m-cate-list clearfix">
        <?php foreach($home_data['nav_list'] AS $key=>$val){?>
            <li class="m-cate-li">
                <a href="<?php echo $val['nav_url']?>">
                <img src="<?php echo $val['nav_icon']?>" alt="aomas-<?php echo $val['nav_name']?>" style="width: 0.58rem;height: unset;border-radius: 35px;">
                <p><?php echo $val['nav_name']?></p>
                </a>
            </li>
        <?php }?>
        <!--<li class="m-cate-li">-->
            <!--<a href="/zuliaoji/">-->
                <!--<img src="" alt="">-->
                <!--<p>足疗机</p>-->
            <!--</a>-->
        <!--</li>-->
        <!--<li class="m-cate-li">-->
            <!--<a href="/anmoyidian/">-->
                <!--<img src="" alt="">-->
                <!--<p>按摩枕椅</p>-->
            <!--</a>-->
        <!--</li>-->
        <!--<li class="m-cate-li">-->
            <!--<a href="/jingjiananmoyi/">-->
                <!--<img src="" alt="">-->
                <!--<p>颈肩按摩枕</p>-->
            <!--</a>-->
        <!--</li>-->
        <!--<li class="m-cate-li">-->
            <!--<a href="/tabuji/">-->
                <!--<img src="" alt="">-->
                <!--<p>踏步机</p>-->
            <!--</a>-->
        <!--</li>-->
        <!--<li class="m-cate-li">-->
            <!--<a href="/tuoyuanji/">-->
                <!--<img src="" alt="">-->
                <!--<p>椭圆机</p>-->
            <!--</a>-->
        <!--</li>-->
    </ul>

    <?php foreach($home_data['brand'] AS $key=>$val){ ?>
    <div class="m-imgback-container">
        <div class="am-table m-bn-table">
            <div class="am-tablecell">
                <img src="<?php echo $val['pic'];?>" alt="" class="m-bn-img">
            </div>
        </div>

        <div class="m-bn-contianer ">
            <div class="am-table">
                <div class="am-tablecell">
                    <p class="m-bn-title"><?php echo $val['brand'];?></p>
                    <p class="m-bn-des"><?php echo $val['des'];?></p>
                    <div class="m-imgback-btn1">
                        <a href="<?php echo $val['url'];?>">了解更多</a>
                    </div>
                </div>
            </div>     
        </div>
    </div>
    <?php }?>


    <!--<div class="m-sale-block">-->
        <!--<div class="pull-left m-sale-des">-->
                <!--<div class="pull-left">-->
                    <!--<div class="am-table" style="height: 2.15rem">-->
                        <!--<div class="am-tablecell">-->
                            <!--<div class="m-sale-title">aomas腿甲按摩椅</div>-->
                            <!--<div class="m-sale-desc">啊是打算打算大Asdasd爱仕达多所阿达打打大声道</div>-->
                            <!--<div class="m-sale-price">2980元</div>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
        <!--<div class="pull-left m-sale-img">-->
            <!--<div class="am-table">-->
                <!--<div class="am-tablecell text-center">-->
                    <!--<img src="" alt="">-->
                <!--</div>-->
            <!--</div>-->
        <!--</div>-->
        <!---->
    <!--</div>-->

    <?php foreach($home_data['goods_list'] AS $key1=>$val1){ ?>

    <div class="m-product-group">
        <div class="m-product-group-header clearfix">
            <p class="pull-left">
                <?php echo $val1['title'];?>
            </p>

            <a href="<?php echo $val1['url']; ?>" class="m-product-more pull-right">更多+</a>

        </div>
        <ul class="m-product-group-list clearfix">

            <?php foreach($val1['goods'] AS $key=>$val){ ?>
            <li>
                <div class="pro-li-body m-pro-li-body" style="border:0">
                    <a href="/product/goods-<?php echo $val['goods_id'] ?>/">
                    <div class="img-block m-product-img">
                        <div class="am-table">
                            <div class="am-tablecell">
                                <img style="height: unset !important;" src="<?php echo get_goods_cover_url($val['goods_id'],'mid',$val['cover']); ?>" alt="<?php echo $val['goods_name']; ?>">
                            </div>
                        </div>
                    </div>
                    <p class="pro-li-title"><?php echo $val['goods_name'];?></p>
                    <p class="pro-li-des"><?php echo $val['goods_brief'];?></p>

                    <div class="pro-li-price m-pro-li-price">
                        <span class="new-price" style="margin-right:0"><?php echo $val['shop_price'];?>元</span>
                    </div>
                    </a>
                </div>
            </li>
            <?php } ?>

       
        </ul>
    </div>
    <?php } ?>

    <!--<div class="m-product-group">-->
        <!--<div class="m-product-group-header clearfix">-->
            <!--<p class="pull-left">精品配件</p>-->
            <!--<a href="javascript:;" class="m-product-more pull-right">-->
                <!--更多+-->
            <!--</a>-->
        <!--</div>-->
        <!--<ul class="m-product-group-list clearfix">-->
            <!--&lt;!&ndash;<li>&ndash;&gt;-->
                <!--&lt;!&ndash;<div class="pro-li-body" style="border:0">&ndash;&gt;-->
                    <!--&lt;!&ndash;<div class="img-block m-product-img">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="am-table">&ndash;&gt;-->
                            <!--&lt;!&ndash;<div class="am-tablecell">&ndash;&gt;-->
                                <!--&lt;!&ndash;<img src="" alt="">&ndash;&gt;-->
                            <!--&lt;!&ndash;</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--&lt;!&ndash;<p class="pro-li-title">啊实打实大师</p>&ndash;&gt;-->
                    <!--&lt;!&ndash;<p class="pro-li-des">现在购机799元</p>&ndash;&gt;-->
                    <!--&lt;!&ndash;<ul class="pro-li-label m-pro-li-label">&ndash;&gt;-->
                        <!--&lt;!&ndash;<li></li>&ndash;&gt;-->
                        <!--&lt;!&ndash;<li></li>&ndash;&gt;-->
                    <!--&lt;!&ndash;</ul>&ndash;&gt;-->
                    <!--&lt;!&ndash;<div class="pro-li-price m-pro-li-price">&ndash;&gt;-->
                        <!--&lt;!&ndash;<span class="new-price" style="margin-right:0">3280元</span>&ndash;&gt;-->
                    <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
            <!--&lt;!&ndash;</li>&ndash;&gt;-->
            <!--<?php foreach($this->peijian as $key=>$val){ ?>-->
            <!--<li>-->
                <!--<div class="pro-li-body" style="border:0">-->
                    <!--<a href="/product/goods-<?php echo $val['goods_id'] ?>/">-->

                    <!--<div class="img-block m-product-img">-->
                        <!--<div class="am-table">-->
                            <!--<div class="am-tablecell">-->
                                <!--<img src="<?php echo get_goods_cover_url($val['goods_id'],'mid',$val['cover']); ?>" alt="<?php echo $val['goods_name']; ?>">-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->

                    <!--<p class="pro-li-title"><?php echo $val['goods_name'];?></p>-->
                    <!--<p class="pro-li-des"><?php echo $val['goods_brief'];?></p>-->
                    <!--&lt;!&ndash;<ul class="pro-li-label m-pro-li-label">&ndash;&gt;-->
                        <!--&lt;!&ndash;<li></li>&ndash;&gt;-->
                        <!--&lt;!&ndash;<li></li>&ndash;&gt;-->
                    <!--&lt;!&ndash;</ul>&ndash;&gt;-->
                    <!--<div class="pro-li-price m-pro-li-price">-->
                        <!--<span class="new-price" style="margin-right:0"><?php echo $val['shop_price'];?>元</span>-->
                    <!--</div>-->
                    <!--</a>-->
                <!--</div>-->
            <!--</li>-->
            <!--<?php }?>-->

        <!---->
        <!--</ul>-->
    <!--</div>-->

    <!--<div class="m-product-group">-->
        <!--<div class="m-product-group-header clearfix">-->
            <!--<p class="pull-left">官方精选</p>-->
            <!--<a href="javascript:;" class="m-product-more pull-right">-->
                <!--更多+-->
            <!--</a>-->
        <!--</div>-->
        <!--<ul class="m-product-group-list clearfix">-->

            <!--<?php foreach($this->guanfangjingxuan as $key=>$val){ ?>-->
            <!--<li>-->
                <!--<div class="pro-li-body m-pro-li-body" style="border:0">-->
                    <!--<a href="/product/goods-<?php echo $val['goods_id'] ?>/">-->

                        <!--<div class="img-block m-product-img">-->
                            <!--<div class="am-table">-->
                                <!--<div class="am-tablecell">-->
                                    <!--<img src="<?php echo get_goods_cover_url($val['goods_id'],'mid',$val['cover']); ?>" alt="<?php echo $val['goods_name']; ?>">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->

                        <!--<p class="pro-li-title"><?php echo $val['goods_name'];?></p>-->
                        <!--<p class="pro-li-des"><?php echo $val['goods_brief'];?></p>-->
                        <!--&lt;!&ndash;<ul class="pro-li-label m-pro-li-label">&ndash;&gt;-->
                        <!--&lt;!&ndash;<li></li>&ndash;&gt;-->
                        <!--&lt;!&ndash;<li></li>&ndash;&gt;-->
                        <!--&lt;!&ndash;</ul>&ndash;&gt;-->
                        <!--<div class="pro-li-price m-pro-li-price">-->
                            <!--<span class="new-price" style="margin-right:0"><?php echo $val['shop_price'];?>元</span>-->
                        <!--</div>-->
                    <!--</a>-->
                <!--</div>-->

            <!--</li>-->
            <!--<?php }?>-->


        <!--</ul>-->
    <!--</div>-->


    <!-- <div class="m-imgback-container m-bn5">
        <div class="am-table m-bn-table">
            <div class="am-tablecell">
                <img src="" alt="" class="m-bn-img">
            </div>
        </div>

        <div class="m-bn-contianer">
            <div class="am-table">
                <div class="am-tablecell">
                    <p class="m-bn-title" style="font-size: 0.3rem;font-weight: bold">2018</p>
                    <p class="m-bn-des" style="font-size: 0.13rem">我们的每一个细胞都需要更加努力</p>
                    <div class="m-imgback-btn1">
                        <a href="#">立即加入</a>
                    </div>
                </div>
            </div>     
        </div>
    </div> -->



</div>

<!-- 尾部全局 -->
<?php TPL::output('aomas/m_global/footer.tpl.htm'); ?>